package com.cloud.zuul.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping
public class UiController {
	
	@GetMapping("/")
	@ResponseBody
	public String indexui() {
		return "ui server";
	}
	
	
	@GetMapping("/calendar")
    public String calendar() {
    	return "calendar/calendar";
    }
	
	@GetMapping("/charts")
	public String charts() {
		return "charts/charts";
	}
	
	@GetMapping("/datatable")
	public String datatable() {
		return "datatable/datatable";
	}
	
	@GetMapping("/errorpage")
	public String error() {
		return "error/404page";
	}
	
	@GetMapping("/forms")
	public String forms() {
		return "forms/forms";
	}
	
	@GetMapping("/table")
	public String table() {
		return "table/basic-table";
	}
	
	@GetMapping("/ui")
	public String ui() {
		return "ui/ui";
	}
	
	@GetMapping("/buttons")
	public String buttons() {
		return "buttons/buttons";
	}
	
	@GetMapping("/chat")
	public String chat() {
		return "chat/chat";
	}
	
	@GetMapping("/compose")
	public String compose() {
		return "compose/compose";
	}
	
	@GetMapping("/email")
	public String email() {
		return "email/email";
	}
	
	@GetMapping("/googlemaps")
	public String googlemaps() {
		return "googlemaps/google-maps";
	}
	
	@GetMapping("/index")
	public String index() {
		return "index/index";
	}
	
	@GetMapping("/vectormaps")
	public String vectormaps() {
		return "vectormaps/vector-maps";
	}

}
